import axios  from "../utlis/require";

//图片信息
export const getImage = function (id) {
    return axios({
        url:`/api/getimages/${id}`
    })
} 

//分类信息
export const getCateInfo = function () {
    return axios({
        url:'/api/getimgcategory'
    })
} 

//获取缩略图数组
export const getImgDetail = function (imgid) {
    return axios({
        url:`/api/getthumimages/${imgid}`
    })
} 

//获取图片详情
export const getImgInfo = function (imgid) {
    return axios({
        url:`/api/getimageInfo/${imgid}`
    })
} 